forum

home / developersection / forums / asp.net mvc find class by class attribute value using reflection

ASP.NET MVC Find class by class attribute value using Reflection

Mark Devid 2133 14-Aug-2014

I have a class with a custom attribute that has a string parameter.

[ANAttribute("Ampe21")]
public class ClassB : ClassA
{
}

I have different action names defined for different classes.

What I want is to obtain the namespace of ClassB or obtain the type of ClassB by searching the entire application after Ampe21.

How can I do that?


c# c# 
Updated on 14-Aug-2014
Mark Devid

Other


Message
Can you answer this question?

Answer

1 Answers

Liked By